SRCS = glob(
  ['src/main/java/**/*.java'],
)
RESOURCES = glob(['src/main/resources/**/*'])

java_library(
  name = 'oauth',
  srcs = SRCS,
  resources = RESOURCES,
  deps = [
    '//gerrit-common:annotations',
    '//gerrit-extension-api:api',
    '//gerrit-httpd:httpd',
    '//gerrit-reviewdb:server',
    '//gerrit-server:server',
    '//lib:gson',
    '//lib:guava',
    '//lib:gwtorm',
    '//lib/commons:codec',
    '//lib/guice:guice',
    '//lib/guice:guice-servlet',
    '//lib/log:api',
  ],
  provided_deps = ['//lib:servlet-api-3_1'],
  visibility = ['PUBLIC'],
)
